package com.imooc.pan.config;

/**
 * @description 支付宝配置参数
 * @author Mr.M
 * @date 2022/10/20 22:45
 * @version 1.0
 */
 public class AlipayConfig {

  // 商户 app_id （17861122399账户）
  public static String APP_ID = "2021000122675149";
  // 应用私钥
  public static String APP_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCr/XnqLUV8ayE/9WoT1UYq/zXYvk85Lmx8kn/TR6c6r6AS58by+XGh+tlmsVCm2kSo2BVO/c67dXqXqNA66Po7tZu91IKW2tNIeGKLbsR/xq0CNYp+paXTYJCpyDCCirEtt+5a+nnCNO7BP6MKX6Ub+LFBwacVVZJcVHslQ2ju0+sljv60KoovhmNiLYLICfq4wDp+OJq34sHXdBB7jdxEZX5wsK9tRzSHULgs93FMDVtWnTiZdzBqM1CFvMuoDhK9uUbjmtWhgxw3rYBpYgDQ7sqsPebsdASzyFpPyYhE16kG7R461auuiqY7OCx4KgV4ZFuBIBDI9k2pOkkiFEX9AgMBAAECggEAcTPlir1BfyMEP5TIvUUjaimQx5h7jKeBwHyspeQDrhzqv4bO7B5DLNpvPah37Vq81mVjoRptd/VbO3dhl2TBT4u5drjpO2HMr2aNdjjyHSgnt8yF29Yrz3U/woCBbWrcM7tcp4U1nx44B/pa1fkeM8r84MsVrnUkYKE6bMxxxL+iwFU4KTnue1Ts235BKwRG33fZ65gFS3gybagtIaRLd21OXiWW8lZWUPdiNlq5TNhZG8MQIPK2DoDHTBsvjCSofAZgXRK0EhFpg6g8MP/StVQ1s8CEgJ2YJqMMF+jFzAtIdlK8DODgixpoUUimonkpyzfEd7VletNtKUa11G0eAQKBgQDfgEMZhmkSkvzyqXSuNZt6S6oVpZihFSICat0nv0bhVQ4dQb+J3gMYQ3dU43g8u6kNKlgw/9hbQ5Utry5zY80MaYSwsVU1k7a1HngkqhcC1Y3r+Vy+0GQv62kPH4L984bUa+MaWpsyWAP+qZjwBbbVSYdG3idcLjWs84sIL4HdnwKBgQDE/73i6L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MxXA6NkGnarPoJqyhgDrwIDAQAB";
 
  // 支付成功后的回调地址，在用户支付成功后，支付宝会给当前地址方式post请求，并携带支付相关信息（该地址必须外网可以访问，可以采用natapp内外穿透，然后用nginx做代理）
  public static String NOTIFY_URL = "http://kcwefh.natappfree.cc/ytupan/paynotify";
 
  public static String QRCODE_URL = "http://kp3kqf.natappfree.cc/api/orders/requestpay?payNo=%s";
  
  // 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
  // 支付成功后，会跳转到指定的路由页面，本地路由即可
  public static String return_url = "http://localhost:5173/paycallback?payNo=";
  // 请求网关地址
  public static String URL = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";
  // 编码
  public static String CHARSET = "UTF-8";
  // 返回格式
  public static String FORMAT = "json";
  // 支付宝公钥
//	public static String ALIPAY_PUBLIC_KEY = "";
  // 日志记录目录
  public static String log_path = "/log";
  // RSA2
  public static String SIGNTYPE = "RSA2";
 }
